FROM python:3.8
MAINTAINER ysg
WORKDIR /soft
COPY ./requirements.txt /soft/requirements.txt
RUN pip install -r requirements.txt -i https://pypi.doubanio.com/simple
RUN pip install uwsgi
RUN celery -A celery_task worker -l info
CMD ["uwsgi", "./devops.ini","--enable-threads"]